mybatis insertUseGeneratedKeys
mybatis中的一個坑:預期:傳入的Record中會生動填入在db中生成的id值。使用 insertUseGeneratedKeys插入數據時,如果id字段不是AUTO_INCREMENT,則不會 ...
mybatis中的一個坑:預期:傳入的Record中會生動填入在db中生成的id值。使用 insertUseGeneratedKeys插入數據時,如果id字段不是AUTO_INCREMENT,則不會 ...